//
//  DataBase_Movie.h
//  豆瓣
//
//  Created by dllo on 16/1/3.
//  Copyright © 2016年 HaiTeng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MovieModel.h"

@interface DataBase_Movie : NSObject


+ (DataBase_Movie *)shareDataBaseHandle;

//打开数据库
- (void)openDB;

//关闭数据库
- (void)closeDB;

//添加数据
- (void)insertMovie:(MovieModel *)movie;

//删除数据
- (void)deleteMovie:(NSString *)movie;


//更新数据
- (void)updataMovie:(MovieModel *)movie;

//查找数据
- (NSMutableArray *)selectmovie;


@end
